package com.caiheng.api.service.titlemenu.impl;

import com.caiheng.api.dao.titlemenu.TitleMenuSectionLinksMapper;
import com.caiheng.api.entity.titlemenu.TitleMenuSectionLinks;
import com.caiheng.api.service.base.impl.BaseServiceImpl;
import com.caiheng.api.service.titlemenu.TitleMenuSectionLinksService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TitleMenuSectionLinksServiceImpl extends BaseServiceImpl<TitleMenuSectionLinksMapper, TitleMenuSectionLinks> implements TitleMenuSectionLinksService {

    @Resource
    private TitleMenuSectionLinksMapper titleMenuSectionLinksMapper;

    public List<TitleMenuSectionLinks> selectBySectionId(Integer section_id) {
        return titleMenuSectionLinksMapper.selectListByColumn("section_id",section_id);
    }
}
